import { socketHandle } from "../client_server/client_server.js";

export let getData = async (req, res) => {
  let data = await socketHandle(`${req.query.instructions}\n`);
  // console.log('获取所有数据的指令：'+req.query.instructions);
  // console.log(`接收到的数据:${data}`);
  res.send(data);
};
